package oop.core.item;
import oop.core.entity.Stats;
import oop.core.visitors.*;

/**
 * 
 * @author Hoang Le
 * This class represents the OneShotItem that Avatar can use by walking on the tile with item on it
 *
 */
public class OneShotItem extends TakeableItem
{
	private Stats stats;
	public OneShotItem(String name, String imageID, Stats stats)
	{
		super(name,imageID);
		this.stats = stats;
	}
	
	public Stats getStats()
	{
		return stats;
	}
	
	public void accept(PickUpVisitor visitor)
	{
		visitor.visitOneShotItem(this);
	}
	
	public void accept(UseVisitor visitor)
	{
		visitor.visitOneShotItem(this);
	}
}